package com.lanxin.generator.anno;

import java.lang.annotation.*;

@Target({ElementType.METHOD, ElementType.FIELD, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface PugDoc {

    /**
     * 描述
     * @return
     */
    String title() default "";

    boolean required() default false;

    boolean token() default true;

    String desc() default "";

    /**
     * 数据库表名
     * @return
     */
    String tableName() default "";

    String model() default "";
}
